---诺西亚 技能1
---最先受击的n人伤害提升
---@class SkillEffect23101:BaseSkillEffect
SkillEffect23101 = ClientFight.CreateClass("SkillEffect23101",ClientFight.BaseSkillEffect)
local t = SkillEffect23101
---@param skill FightUsingSkill
---@param target Fighter
function t:attack(skill,target)
    local skillBean = skill.skill.skillBean
    local buffId = skill.skill.skillBean.f_SkillScriptParameter[2];
    local peopleAmount = skillBean.f_SkillScriptParameter[1]

    -- 前两个人伤害加倍
    if (#skill.actionTargets <= peopleAmount) then

    BuffManager.addBuff(skill.fight, skill, skill.fighter, target, false, buffId, skill.skill.skillBean.f_SkillScriptParameter[3])

    SkillRoleMgr.savePathFile("[" .. skill.fight.frame .. "]" ..
    "[SKILL]" .. skill.fighter.fighterId .. "对前" .. peopleAmount .. " "
    .. target.fighterId .. "攻击，使用技能" .. skillBean.f_SkillID
    .. "增加伤害提升buff:" .. buffId
    );
    end
    return false;
end
t.New()